<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">


<h:form id="form_newsletter" styleClass="form_newsletter" >
			
			<p:growl id="growl_newsletter_create"  autoUpdate="true" for="form_newsletter:input_text_newsletter_email" />
			<h:panelGrid id="grid_newsletter" columns="2">
					<h:outputText id="outputtext_newsletter_message" value="#{msg.newsletter_message}:" /> <h:panelGroup id="panelgroup_newsletter_random"/>		
					<p:inputText id="input_text_newsletter_email" value="#{newsletterRequestBean.email}" size="30"
						validator="emailValidator" validatorMessage="#{msg.invalid_email}" required="true" requiredMessage="#{msg.required_field_email}" />
					<p:commandLink id="commandLink_create_newsletter" action="#{newsletterRequestBean.create}" 	styleClass="commandLink_create_newsletter" update="grid_newsletter" />
			</h:panelGrid>
			
</h:form>

</html>